<?php

namespace common\validate;


class ProduceStatementReport extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    // Modify 验证场景定义
    public function sceneModify()
    {
        return $this
            ->append('data.project_id', 'require')
            ->append('data.month_time', 'require');
    }

    // Detail 验证场景定义
    public function sceneDetail()
    {
        return $this
            ->append('param.project_id', 'require')
            ->append('param.month', 'require');
    }

}
